Logo
Spacer News Wiki Features F.A.Q. Team members Screenshots Download Messageboard Bug tracker Submit files
Top divider

Lua ConstGame

Contents

[edit] Engine

string Game.version

number Game.maxUnits
number Game.maxTeams
number Game.maxPlayers
number Game.squareSize
number Game.gameSpeed

[edit] Host

number Game.gameMode
number Game.startPosType

boolean Game.commEnds
boolean Game.limitDGun
boolean Game.diminishingMetal
boolean Game.ghostedBuildings

[edit] Map

string Game.mapName
string Game.mapHumanName
number Game.mapX
number Game.mapY
number Game.mapSizeX in worldspace/opengl coords
number Game.mapSizeZ in worldspace/opengl coords
number Game.gravity
number Game.tidal
number Game.windMin
number Game.windMax
number Game.extractorRadius
boolean Game.mapDamage
boolean Game.mapWaterVoid
boolean Game.mapWaterPlane

[edit] Mod

string Game.modName
string Game.modShortName
string Game.modVersion
string Game.modMutator
string Game.modDesc

boolean Game.allowTeamColors
number Game.multiReclaim
number Game.reclaimMethod
number Game.transportAir
number Game.transportShip
number Game.transportHover
number Game.transportGround
number Game.fireAtKilled
number Game.fireAtCrashing

[edit] Checksums

string Game.mapChecksum
string Game.modChecksum

[edit] Categories

table Game.springCategories

 example: {
   ["vtol"]         = 0,  ["special"]      = 1,  ["noweapon"]     = 2,
   ["notair"]       = 3,  ["notsub"]       = 4,  ["all"]          = 5,
   ["weapon"]       = 6,  ["notship"]      = 7,  ["notland"]      = 8,
   ["mobile"]       = 9,  ["kbot"]         = 10, ["antigator"]    = 11,
   ["tank"]         = 12, ["plant"]        = 13, ["ship"]         = 14,
   ["antiemg"]      = 15, ["antilaser"]    = 16, ["antiflame"]    = 17,
   ["underwater"]   = 18, ["hover"]        = 19, ["phib"]         = 20,
   ["constr"]       = 21, ["strategic"]    = 22, ["commander"]    = 23,
   ["paral"]        = 24, ["jam"]          = 25, ["mine"]         = 26,
   ["kamikaze"]     = 27, ["minelayer"]    = 28, ["notstructure"] = 29,
   ["air"]          = 30
 }

table Game.armorTypes (bidirectional)

 example: {
   [1]  = amphibious,   [2] = anniddm,     [3] = antibomber,
   [4]  = antifighter,  [5] = antiraider,  [6] = atl,
   [7]  = blackhydra,   [8] = bombers,     [9] = commanders,
   [10] = crawlingbombs, ...
   ["amphibious"]   = 1, ["anniddm"]    = 2, ["antibomber"] = 3
   ["antifighter"]  = 4, ["antiraider"] = 5, ["atl"]        = 6
   ["blackhydra"]   = 7, ["bombers"]    = 8, ["commanders"] = 9
   ["crawlingbombs"]= 10, ...
 }

Retrieved from "http://spring.clan-sy.com/wiki/Lua_ConstGame"

This page has been accessed 658 times. This page was last modified 03:08, 24 January 2008.